package cn.kgc.springcloud.client;

import org.springframework.stereotype.Component;

/**
 * @author 课工场
 * @date 2023/10/12
 * @description
 */
@Component
public class HystrixClientFallback implements HystrixClient {

    // HystrixClient.method1()  快速回调
    @Override
    public String method1(Integer id) {

        return "服务器繁忙，请稍后再试"+id;
    }
}
